cmake_minimum_required(VERSION 3.26)
project(McGpp)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_C_STANDARD 14)

set(CMAKE_EXE_LINKER_FLAGS "-static")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/runtime)


include_directories(src)
include_directories(src/datastructure)
include_directories(src/utils)
include_directories(src/meta)
include_directories(src/io)
include_directories(src/partition)

include_directories(src/partition/refinement)

#set(SOURCE_DIR "${PROJECT_SOURCE_DIR}/src")
file(GLOB_RECURSE  CPP_SOURCES "src/*.h" "src/*.cpp")
message(STATUS "waa${CPP_SOURCES}")

add_executable(mcgpp ${CPP_SOURCES} main.cpp)

add_subdirectory(test)
add_subdirectory(mqi)
add_subdirectory(init_solution)
